package com.mysoft.gfyx.common.rpc.opptyservice.dto;

import lombok.Data;

import java.util.List;

@Data
public class OpptyServiceResponseDto {
    private Boolean success;
    private String message;
    private CustomerScore data;

    @Data
    public static class CustomerScore {
        private String organizing_code;
        private Integer total_score = 0;
        private String updated_time = "";
        private ScoreDetail investment_amount;
        private ScoreDetail return_of_fund;
        private ScoreDetail credit_score;
        private ScoreDetail match_demand;
        private ScoreDetail annual_increase;
    }

    @Data
    public static class ScoreDetail {
        private Integer score = 0;
        private Integer max_score = 100;
        private List<String> detail;
    }
}
